InvokeDotNETMethod

Note: This statement is named Invoke .NET Method in the Add Statement dialog box.

Invokes a .NET method and returns the method value.

Only use this statement if you have Visual C# .NET or Visual Basic .NET experience.

Syntax

InvokeDotNETMethod("MethodName", ParametersList)

Arguments

Argument Description
MethodName .NET method name to invoke.
ParametersList Parameters to use when invoking the method.

Supported objects

Browser, Button, Calendar, Cell, CheckBox, ColumnHeader, ComboBox, ContextMenu, Control, DateTimePicker, EditBox, Grid, HTMLElement, HTMLLink, HTMLTable, Image, Item, Label, Link, ListBox, ListView, Menu, NavigationField, PopupMenu, ProgressBar, RadioButton, Row, RowHeader, ScrollBar, Slider, SpinBox, SubItem, Tab, TabBar, ToolBar, Tree, Window

Return value

Value Description
Value Method value.

Example

Window("Form").EditBox("editboxRegister").InvokeDotNETMethod("Clear", 2)